package com.magnificent.panda.model.generator.log.taxi.dispatcher;

import com.magnificent.panda.model.generator.log.taxi.TaxiConstants;

/**
 * User: Babanin
 * Date: 03.10.2009
 * Time: 15:32:54
 */
public class MakeOrder extends DispatcherOrderAction {
    private int orderId;

    public MakeOrder(int driverId, int orderId) {
        this.orderId = orderId;
        this.driverId = driverId;
    }

    public int getOrderId() {
        return orderId;
    }

    public void setOrderId(int orderId) {
        this.orderId = orderId;
    }

    public String toString() {
        return String.format(TaxiConstants.MAKE_ORDER,
                TaxiConstants.DATE_FORMAT.format(getDate()), driverId, orderId);
    }
}

  /* converted to utf8 */